<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"
          name="viewport">
    <meta content="ie=edge" http-equiv="X-UA-Compatible">
    <meta content="width=device-width, initial-scale=1" name="viewport">
    <title>Document</title>
    <link href="../boot/css/bootstrap.min.css" rel="stylesheet">
    <!--核心jquery js-->
    <script src="../boot/js/jquery-3.4.1.min.js"></script>
    <!--bootstrap 核心 js-->
    <script src="../boot/js/bootstrap.min.js"></script>


</head>
<body>


<!--创建基本实例-->
连接中使用徽章
<a href="">用户登录 <span class="badge">42</span></a>
<br>
按钮中使用徽章
<button class="btn btn-primary">Message <span class="badge">23</span></button>
<br><br><br><br>
在胶囊式标签页中使用
<ul class="nav nav-pills">
    <li class="active"><a href="">Home <span class="badge">36</span></a></li>
    <li><a href="">a</a></li>
    <li><a href="">b</a></li>
</ul>

</body>
</html>